home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / docs / help / adosguide.lha / ADOSguide / ADOS commands / Protect < prev    next >
Encoding:
Text File  |  1999-05-16  |  1.0 KB  |  36 lines

  1.                          --AMIGADOS GUIDE V2.6--
  2.                                  PROTECT
  3.  
  4.  
  5.    USE:
  6.    Associated with every AmigaDOS command are a set of 5 Protection Flags.
  7.    This command enables you to alter these flags so that you can change
  8.    certain aspects of the file (e.g. Whether it can be deleted or not).
  9.  
  10.    PATH:
  11.    C:
  12.  
  13.    SYSTEM:
  14.    2.0 (enhanced), 2.1, 3.0
  15.  
  16.    EXAMPLES:
  17.    1>PROTECT Userfile RWE
  18.    1>PROTECT Userfile +A (sets the file with flag A)
  19.    1>PROTECT Userfile -DW (Resets the file)
  20.  
  21.    NOTES:
  22.    To set the protection flags just include the letter of the protection
  23.    flag after your file name.
  24.  
  25.    Protection Flags:
  26.                                 A = Archive        R = Readable
  27.                                 W = Writable       E = Executable
  28.                                 D = Deletable      P = Pure
  29.                                 S = Script
  30.  
  31.   
  32.    A selection of flags can be set or reset at once without affecting the
  33.    status of the others. Also more than one flag can be altered at a time.
  34.    (see examples 2 & 3)
  35.  
  36.